
# If you want to export variables on the X session, then edit this file.

# prefer UTF-8 whenever possible
export LC_CTYPE="en_US.UTF-8"

# use UTF-8 everywhere
export LANG=en_US.UTF-8

# set your background color
xsetroot -solid dimgray

# lock the screen after 5 minutes of inactivity
xidle -delay 5 -sw -program "/usr/X11R6/bin/xlock -mode flag" \
                   -timeout 300 &

# add "doom" command to path & let polybar execute scripts
PATH=$PATH:$HOME/.config/emacs/bin:$HOME/.config/polybar
export PATH

# start a dbus session, which I believe gpg needs to for graphical pinentry
# I found this command in /usr/local/share/doc/pkg-readmes/dbus
#if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
#        eval `dbus-launch --sh-syntax --exit-with-x11`
#fi

# exec startxfce4
exec i3
